home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / files / t_sys5 / unixcpio.gz / unixnet.cpio / cmdparse.h < prev    next >
C/C++ Source or Header  |  1994-07-11  |  444b  |  14 lines

  1. #define NARG        40    /* Max number of args to commands */
  2. #define POOLSIZE    400    /* Max number of chars in expanded args */
  3.  
  4. struct cmds {
  5.     char *name;        /* Name of command */
  6.     int (*func)();        /* Function to execute command */
  7.     int  argcmin;        /* Minimum number of args */
  8.     char *argc_errmsg;    /* Message to print if insufficient args */
  9.     char *exec_errmsg;    /* Message to print if function fails */
  10. };
  11. #ifndef NULLCHAR
  12. #define NULLCHAR    (char *)0
  13. #endif
  14.